package com.zjgu.entity;

import java.util.List;

public class Huanjie {
    private Integer hId;

    private Integer mId;

    private String hName;

    private Byte hAlive;

    private List<Mokuai> mokuais;

    public Huanjie() {
    }

    public Huanjie(String hName, Integer mId) {
        this.hName = hName;
        this.mId = mId;
    }

    public List<Mokuai> getMokuais() {
        return mokuais;
    }

    public void setMokuais(List<Mokuai> mokuais) {
        this.mokuais = mokuais;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getmId() {
        return mId;
    }

    public void setmId(Integer mId) {
        this.mId = mId;
    }

    public String gethName() {
        return hName;
    }

    public void sethName(String hName) {
        this.hName = hName == null ? null : hName.trim();
    }

    public Byte gethAlive() {
        return hAlive;
    }

    public void sethAlive(Byte hAlive) {
        this.hAlive = hAlive;
    }
}